package me.zhenqu.model.pojo.entity;

import me.zhenqu.model.pojo.inf.JSONable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by IntelliJ IDEA.
 * User: ybtan
 * Date: 11-11-1
 * Time: 下午9:15
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "status_count", catalog = "zhenqu")
public class StatusCount implements JSONable {
    private long status_id;
    private int comment_count = 0;
    private int retweet_count = 0;
    private long update_time;
    @Id
    public long getStatus_id() {
        return status_id;
    }

    public void setStatus_id(long status_id) {
        this.status_id = status_id;
    }

    public int getComment_count() {
        return comment_count;
    }

    public void setComment_count(int comment_count) {
        this.comment_count = comment_count;
    }

    public int getRetweet_count() {
        return retweet_count;
    }

    public void setRetweet_count(int retweet_count) {
        this.retweet_count = retweet_count;
    }

    public long getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(long update_time) {
        this.update_time = update_time;
    }

    public String toJson() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public JSONable fromJson(String jsonstr) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
